Skip to content

refactor(verse): rename HNeuronVisualizer -> FrictionPulseOverlay (CLAUDE-JARGON-1)#658

Open
Victor "David" Medina (Victor-David-Medina) wants to merge 1 commit into
mainfrom
claude/rename-hneuron-visualizer
Open

refactor(verse): rename HNeuronVisualizer -> FrictionPulseOverlay (CLAUDE-JARGON-1)#658
Victor "David" Medina (Victor-David-Medina) wants to merge 1 commit into
mainfrom
claude/rename-hneuron-visualizer

Conversation

@Victor-David-Medina

Copy link
Copy Markdown
Collaborator

CLAUDE-JARGON-1 — retire the last live "H-Neuron" (my lane)

Companion to VS Code's VSC-JARGON-1 (gov #262 + website #677). Those closed the buyer-copy + canon side; this closes the one that was explicitly left to my lane: the live console component.

What it actually was

HNeuronVisualizer is not a neuron and not a visualizer. It is a full-screen friction / insight notification overlay — it fires a fleeting "Friction detected" (tactical persona) or "Executive Insight" (executive persona) pulse when a global event is dispatched. The "H-Neuron" name came from a Tsinghua sycophancy paper and describes nothing the component does. Renamed to what it is: FrictionPulseOverlay.

Rename (fully self-contained — verified before touching the contract)

  • components/verse/HNeuronVisualizer.tsx -> components/verse/FrictionPulseOverlay.tsx (git mv, history preserved)
  • Identifiers: HNeuronVisualizer -> FrictionPulseOverlay, HNeuronEvent -> FrictionPulseEvent, triggerHNeuron -> triggerFrictionPulse
  • Event/CSS strings (dispatch <-> listener stay balanced): "h-neuron-friction" -> "friction-pulse", @keyframes h-neuron-shake -> friction-pulse-shake, .h-neuron-active -> .friction-pulse-active
  • One import site updated: app/(verse)/layout.tsx (import + JSX usage)

Verify-before-claim: grepped the whole tree for triggerHNeuron / h-neuron-friction / h-neuron-active / h-neuron-shake outside the component — zero external callers, so the event/helper/CSS contract is safe to rename. No test or spec references the component (none exist).

Deliberately NOT touched

  • .claude/agents/_base.yaml cites the real Tsinghua H-Neuron sycophancy research as the rationale for anti-overcompliance guardrails. That is honest provenance, not a fabricated buyer mechanic — left as-is (dated config context).
  • Archived/historical docs (docs/campaigns/, docs/prompts/stitch/, docs/reports/, relay-brain/raw/, _archived/ agents) left dated (absorb-before-delete; VS Code's archive stance).
  • Pre-existing raw-hex / white-N opacity in the component (design-system debt) is not introduced by this rename — flagged separately, not fixed here to keep the PR to one concern.

Verification

  • Built off fresh origin/main (22eedbb) in an isolated worktree — did not touch the console's parked local Copilot branch.
  • Zero residual hneuron/h-neuron in the two live files; new identifiers consistent; event contract balanced.
  • node_modules absent in the worktree -> console CI (Build+Lint+Test, Quality Gate) is the test gate.

Generated with Claude Code by RelayLaunch

…tire neuro-jargon)

The component is a friction/insight notification overlay, not a neuron
visualizer. The 'H-Neuron' name came from a Tsinghua sycophancy paper and
describes nothing it does. Renamed to match behavior; event/helper/CSS
identifiers renamed in lockstep (contract verified self-contained, zero
external callers). One import site updated in app/(verse)/layout.tsx.

Companion to VSC-JARGON-1 (gov #262 + website #677); this is the live
console component that dispatch explicitly left to the Claude lane.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🛡️ Cascade Quality Score: 100/100

Category Score Status
TypeScript 20/20
ESLint 20/20
Brand Compliance 15/15
Test Suite 25/25
Build 20/20

Threshold: 85/100 | Result: PASS ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant